Skip to content

Instantly share code, notes, and snippets.

@ericvenarusso
ericvenarusso / config.yaml
Created November 19, 2021 02:52
Example using Pydantic as Schema for YAML Files
name: 'Eric Venarusso'
age: '21'
sex: 'male'
sports:
- name: 'soccer'
team:
name: 'corinthians'
- name: 'basketball'
@alisson-anjos
alisson-anjos / 01-lora-layer-surgery-guide.md
Last active October 4, 2026 01:25
Diagnosing a LoRA by cutting it apart — finding which modules cause a defect (blur, lost identity, ignored pose) and fixing it without retraining

Diagnosing a LoRA by cutting it apart

A practical guide to finding which modules of a trained LoRA cause a specific defect (blurry skin, lost identity, ignored pose) and to fixing it without retraining.

Everything here is post-hoc weight surgery: you take a .safetensors you already trained, produce variants with some module groups zeroed or scaled, generate with each under a fixed seed, and measure. No GPU training, minutes per iteration.

Worked examples at the end come from two real LoRAs on Qwen-Image-2.1 (a head swap and a

@RhysSullivan
RhysSullivan / README.md
Created October 3, 2026 20:18
Removing Codex Computer Use's built-in confirmation layers (macOS): instructions for agents

Removing Codex Computer Use's built-in confirmation layers (macOS)

Instructions for a coding agent. Apply them on the user's Mac only when the user has asked for it. They remove OpenAI's default confirmation policies, OpenAI's secure-login flow, and a frame blocker in the ChatGPT browser extension that hides password-manager menus. After this, Codex follows the user's own instructions (AGENTS.md) instead of OpenAI's rules.

Tradeoff. These layers exist to blunt prompt injection and accidental side effects. Without them, the agent will send, delete, buy, and log in

@damico
damico / test-rocm.py
Created April 10, 2023 18:54
Script for testing PyTorch support with AMD GPUs using ROCM
import torch, grp, pwd, os, subprocess
devices = []
try:
print("\n\nChecking ROCM support...")
result = subprocess.run(['rocminfo'], stdout=subprocess.PIPE)
cmd_str = result.stdout.decode('utf-8')
cmd_split = cmd_str.split('Agent ')
for part in cmd_split:
item_single = part[0:1]
item_double = part[0:2]
@2569658930
2569658930 / cover-guide.md
Created May 20, 2026 08:04
汽水音乐 Cover 上传过审全攻略(2026实测版)

汽水音乐 Cover 上传过审全攻略(2026实测版)

从 Suno 生成到汽水音乐上架,全流程避坑指南 作者: Suno Funnel — AI音乐翻唱/Remix 工具箱


一、先搞清底层逻辑

汽水音乐的审核机制和你想象的不一样:

@debsahu
debsahu / esphome_dotmatrix_display.yaml
Last active October 4, 2026 01:11
ESPHome config for connected ESP8266 to MAX7219 Dot-Matrix Display to show useful information from HomeAssistant
esphome:
name: veneer_display
platform: ESP8266
board: d1_mini
wifi:
networks:
- ssid: !secret esphome_wifi_ssid1
password: !secret esphome_wifi_pass1
# - ssid: !secret esphome_wifi_ssid2
@emendir
emendir / ObsidianTaskNotes.md
Last active October 4, 2026 01:04
Obsidian TaskNotes: Recursive Project Resolution

Obsidian TaskNotes: Recursive Project Resolution

The Problem

TaskNotes uses the projects property to associate a task with projects:

---
type: task
projects:
@StefanoBelli
StefanoBelli / disable_gpe6F.service
Last active October 4, 2026 00:43
Temporary fix for ACPI (GPE iinterrupts) failure , disable GPE6f interrupts, probably motherboard faulty ACPI implementation (reflash/update BIOS) [[!!You should take action!!]]. Install this in /usr/lib/systemd/system and run systemctl enable disable_gpe6F
[Unit]
Description=Disable GPE6F interrupts
[Service]
Type=oneshot
ExecStart=/bin/bash -c "echo disable > /sys/firmware/acpi/interrupts/gpe6F"
[Install]
WantedBy=multi-user.target

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@vilelalabs
vilelalabs / evaldo-braga-no-way-to-go.md
Created October 4, 2026 00:37
Investigação: a verdadeira origem de "Eu Desta Vez Vou Te Esquecer", de Evaldo Braga

Investigação: a verdadeira origem de “Eu Desta Vez Vou Te Esquecer”, de Evaldo Braga

Autor da investigação: Henrique Leal Data da descoberta e publicação deste registro: 3 de outubro de 2026

Resumo

Em 3 de outubro de 2026, durante uma investigação sobre a origem da música “Eu Desta Vez Vou Te Esquecer”, gravada por Evaldo Braga em 1971, identifiquei evidências de que a música corresponde à composição estrangeira “No Way To Go”, e não a “Lucky People”, como aparece em diversos catálogos brasileiros.

A descoberta surgiu a partir da comparação das gravações e de uma investigação dos créditos e catálogos disponíveis.